package com.rustic.server.po;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
  import java.util.Date;
import lombok.Data;

/**
 * 表[restaurant]对应实体类
 *
 * @author auto
 *
 */

@Data
@TableName(value = "`restaurant`")
@ApiModel(value = "表restaurant的实体类")
public class Restaurant {

    /**
     * 自增ID
     */
    @ApiModelProperty(value = "自增ID", dataType = "Integer")
    @TableId(value="`id`",type = IdType.AUTO)
    private Integer id;

    /**
     * 餐厅名称
     */
    @ApiModelProperty(value = "餐厅名称", dataType = "String")
    @TableField("`name`")
    private String name;

    /**
     * 餐厅地址
     */
    @ApiModelProperty(value = "餐厅地址", dataType = "String")
    @TableField("`address`")
    private String address;

    /**
     * 餐厅详细地址
     */
    @ApiModelProperty(value = "餐厅详细地址", dataType = "String")
    @TableField("`detailed_address`")
    private String detailedAddress;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", dataType = "Date")
    @TableField("`create_time`")
    private Date createTime;

}
